package fr.afcepf.atod21.expedition.entity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the commande database table.
 * 
 */
@Entity
@NamedQuery(name="Commande.findAll", query="SELECT c FROM Commande c")
public class Commande implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="id_expedition")
	private int idExpedition;

	@Column(name="adresse_facturation")
	private String adresseFacturation;

	@Column(name="adresse_livraison")
	private String adresseLivraison;

	@Column(name="date_annulation")
	private String dateAnnulation;

	@Column(name="date_commande")
	private String dateCommande;

	@Column(name="date_expedition")
	private String dateExpedition;

	@Column(name="id_commande")
	private int idCommande;

	public Commande() {
	}

	public int getIdExpedition() {
		return this.idExpedition;
	}

	public void setIdExpedition(int idExpedition) {
		this.idExpedition = idExpedition;
	}

	public String getAdresseFacturation() {
		return this.adresseFacturation;
	}

	public void setAdresseFacturation(String adresseFacturation) {
		this.adresseFacturation = adresseFacturation;
	}

	public String getAdresseLivraison() {
		return this.adresseLivraison;
	}

	public void setAdresseLivraison(String adresseLivraison) {
		this.adresseLivraison = adresseLivraison;
	}

	public String getDateAnnulation() {
		return this.dateAnnulation;
	}

	public void setDateAnnulation(String dateAnnulation) {
		this.dateAnnulation = dateAnnulation;
	}

	public String getDateCommande() {
		return this.dateCommande;
	}

	public void setDateCommande(String dateCommande) {
		this.dateCommande = dateCommande;
	}

	public String getDateExpedition() {
		return this.dateExpedition;
	}

	public void setDateExpedition(String dateExpedition) {
		this.dateExpedition = dateExpedition;
	}

	public int getIdCommande() {
		return this.idCommande;
	}

	public void setIdCommande(int idCommande) {
		this.idCommande = idCommande;
	}

}